package com.youthHostel.service;



import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youthHostel.pojo.flatrepair;

public interface FlatrepairService {
	PageInfo<flatrepair> findAll(int index);
	
	List<flatrepair> findByName(String name,int index);
	
	int deleteByPrimaryKey(Integer id);

    int insert(flatrepair record);

    flatrepair selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(flatrepair record);
}
